﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SIG.ViewModel.Front.Identity
{
    public class RegisterIMForAPI
    {
        [Required]
        [Display(Name = "用户名")]    
        public string Username { get; set; }
      
        [Display(Name = "电子邮件")]
        public string Email { get; set; }
     

        [Required]
        [StringLength(100, ErrorMessage = "{0} 必须至少包含 {1} 个字符。", MinimumLength = 6)]
        [DataType(DataType.Password)]
        [Display(Name = "密码")]
        public string Password { get; set; }

     
    }
}
